Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Błąd kompilacji GAME


Rekomendowane odpowiedzi

Opublikowano

Pomożecie? Game nei kompiluje przez errory a nie wiem jak się ich pozbyć. Source to Mainline_Released

 

char.cpp: In member function 'void CHARACTER::PointChange(BYTE, INT, bool, bool)':
char.cpp:3088: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'DWORD CHARACTER::GetNextExp() const':
char.cpp:7217: warning: large integer implicitly truncated to unsigned type
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(INT)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
char_item.cpp: At global scope:
char_item.cpp:520: error: prototype for 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const' does not match any in class 'CHARACTER'
char.h:1058: error: candidate is: bool CHARACTER::IsEmptyItemGrid(TItemPos, INT, int) const
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:578: warning: comparison between signed and unsigned integer expressions
char_item.cpp:608: warning: comparison between signed and unsigned integer expressions
char_item.cpp:640: warning: comparison is always false due to limited range of data type
char_item.cpp:666: warning: comparison is always false due to limited range of data type
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2435: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
char_item.cpp:2435: warning: format '%s' expects type 'char*', but argument 4 has type 'DWORD'
char_item.cpp:2435: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2443: warning: format '%s' expects type 'char*', but argument 3 has type 'DWORD'
char_item.cpp:2443: warning: format '%s' expects type 'char*', but argument 4 has type 'int'
char_item.cpp:2443: warning: format '%s' expects type 'char*', but argument 5 has type 'long int'
char_item.cpp:5088: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5159: warning: unused variable 'wDestCell'
char_item.cpp:5160: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6160: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6224: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6236: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7422: warning: unused variable 'itemType'
char_item.cpp:7423: warning: unused variable 'itemSubType'
gmake: *** [OBJDIR/char_item.o] Bł±d 1
gmake: *** Oczekiwanie na niezakończone zadania....
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
PetSystem.cpp:552: warning: unused variable 'petVID'
 

2d1afb5.pngJeśli pomogłem zostaw Like =]

 

Opublikowano

char_item.cpp:520: error: prototype for 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const' does not match any in class 'CHARACTER'
char.h:1058: error: candidate is: bool CHARACTER::IsEmptyItemGrid(TItemPos, INT, int) const

gmake: *** [OBJDIR/char_item.o] Bł±d 1

 

Tu masz napisane, że błąd jest w pliku char_item.cpp linijka 520 

pewnie dodawałeś coś z jakiegoś poradnika więc sprawdź kilka razy czy poprawnie.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...